<%--
  Created by IntelliJ IDEA.
  User: user
  Date: 2018/3/20
  Time: 19:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>add</title>
    <style>
        *{
            list-style-type: none;
        }
    </style>
  <link rel="stylesheet" href="/static/bootstrap-3.3.7-dist/css/bootstrap.min.css">
</head>
<body>

<h1>城市信息</h1>

    <div  style="width: 60%;text-align: right">

      <form class="form-horizontal"  action="/pageupdate.action">
        <div class="form-group">
          <label for="code" class="col-sm-2 control-label">Code :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="code" id="code" value="${country.code}">
          </div>
        </div>

        <div class="form-group">
          <label for="name" class="col-sm-2 control-label">Name :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="name"  id="name" value="${country.name}">
          </div>
        </div>

        <div class="form-group">
          <label for="region" class="col-sm-2 control-label">Region :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="region" id="region" value="${country.region}">
          </div>
        </div>

        <div class="form-group">
          <label for="surfaceArea" class="col-sm-2 control-label">SurfaceArea :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="surfaceArea" id="surfaceArea" value="${country.surfaceArea}">
          </div>
        </div>

        <div class="form-group">
          <label for="indepYear" class="col-sm-2 control-label">IndepYear :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="indepYear" id="indepYear" value="${country.indepYear}">
          </div>
        </div>

        <div class="form-group">
          <label for="population" class="col-sm-2 control-label">Population :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="population" id="population" value="${country.population}">
          </div>
        </div>

        <div class="form-group">
          <label for="lifeExpectancy" class="col-sm-2 control-label">LifeExpectancy :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="lifeExpectancy" id="lifeExpectancy" value="${country.lifeExpectancy}">
          </div>
        </div>

        <div class="form-group">
          <label for="gnp" class="col-sm-2 control-label">GNP :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="gnp" id="gnp" value="${country.gnp}">
          </div>
        </div>

        <div class="form-group">
          <label for="headOfState" class="col-sm-2 control-label">HeadOfState :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="headOfState" id="headOfState" value="${country.headOfState}">
          </div>
        </div>

        <div class="form-group">
          <label for="capital" class="col-sm-2 control-label">Capital :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="capital" id="capital" value="${country.capital}">
          </div>
        </div>

        <div class="form-group">
          <label for="code2" class="col-sm-2 control-label">Code2 :</label>
          <div class="col-sm-6">
            <input type="text" class="form-control" name="code2" id="code2" value="${country.code2}">
          </div>
        </div>

        <div class="form-group">
          <div class="col-sm-offset-1 col-sm-3">
            <button type="submit" class="btn btn-default">提交</button>
          </div>
        </div>
      </form>
    </div>
</body>
</html>
